package klex.eserver.biz.systemmanager.permission.impl;

import java.util.List;

import klex.eserver.biz.systemmanager.SystemManagerBiz;
import klex.eserver.biz.systemmanager.permission.FunctionBiz;
import klex.eserver.entity.OnlineClientFunctions;
import klex.eserver.javabean.FunctionBean;

public class FunctionBizImpl extends SystemManagerBiz implements FunctionBiz {

	public Integer addFunctions(OnlineClientFunctions functions) {
		return functionDao.addFunctions(functions);
	}

	public Integer delAllFunction(String sql) {
		return functionDao.delAllFunction(sql);
	}

	public Integer delFunction(String functionNumber) {
		return functionDao.delFunction(functionNumber);
	}

	public List<FunctionBean> findAllFunctions() {
		return functionDao.findAllFunctions();
	}

	public List<FunctionBean> findFunctionsByName(OnlineClientFunctions functions) {
		return functionDao.findFunctionsByName(functions);
	}

	public OnlineClientFunctions getFunctionsByNumber(String functionNumber) {
		return functionDao.getFunctionsByNumber(functionNumber);
	}

	public Integer updateAllFunction(String sql) {
		return functionDao.updateAllFunction(sql);
	}

	public Integer updateFunctionsByNumber(OnlineClientFunctions functions) {
		return functionDao.updateFunctionsByNumber(functions);
	}
	
}
